package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 护士角色表对象 service_role
 * 
 * @author ZDL
 * @date 2024-11-12
 */
public class ServiceRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 护士角色表主键ID */
    private Long roleId;

    /** 护士角色 */
    @Excel(name = "护士角色")
    private String roleName;

    /** 创建者 */
    @Excel(name = "创建者")
    private String roleCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date roleCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String roleUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date roleUpdateTime;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String roleUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String roleDelFlag;

    /** 护士角色备注 */
    @Excel(name = "护士角色备注")
    private String roleRemark;

    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }
    public void setRoleName(String roleName) 
    {
        this.roleName = roleName;
    }

    public String getRoleName() 
    {
        return roleName;
    }
    public void setRoleCreateBy(String roleCreateBy) 
    {
        this.roleCreateBy = roleCreateBy;
    }

    public String getRoleCreateBy() 
    {
        return roleCreateBy;
    }
    public void setRoleCreateTime(Date roleCreateTime) 
    {
        this.roleCreateTime = roleCreateTime;
    }

    public Date getRoleCreateTime() 
    {
        return roleCreateTime;
    }
    public void setRoleUpdateBy(String roleUpdateBy) 
    {
        this.roleUpdateBy = roleUpdateBy;
    }

    public String getRoleUpdateBy() 
    {
        return roleUpdateBy;
    }
    public void setRoleUpdateTime(Date roleUpdateTime) 
    {
        this.roleUpdateTime = roleUpdateTime;
    }

    public Date getRoleUpdateTime() 
    {
        return roleUpdateTime;
    }
    public void setRoleUseFlag(String roleUseFlag) 
    {
        this.roleUseFlag = roleUseFlag;
    }

    public String getRoleUseFlag() 
    {
        return roleUseFlag;
    }
    public void setRoleDelFlag(String roleDelFlag) 
    {
        this.roleDelFlag = roleDelFlag;
    }

    public String getRoleDelFlag() 
    {
        return roleDelFlag;
    }
    public void setRoleRemark(String roleRemark) 
    {
        this.roleRemark = roleRemark;
    }

    public String getRoleRemark() 
    {
        return roleRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roleId", getRoleId())
            .append("roleName", getRoleName())
            .append("roleCreateBy", getRoleCreateBy())
            .append("roleCreateTime", getRoleCreateTime())
            .append("roleUpdateBy", getRoleUpdateBy())
            .append("roleUpdateTime", getRoleUpdateTime())
            .append("roleUseFlag", getRoleUseFlag())
            .append("roleDelFlag", getRoleDelFlag())
            .append("roleRemark", getRoleRemark())
            .toString();
    }
}
